<div class="am-u-sm-12 widget main-w" >
	<ol class="am-breadcrumb">
		<li><a href="{:url('/admin/index')}">首页</a></li>
		<li><a href="{:url('/admin/car/index')}">业务管理</a></li>
		<li><a href="{:url('/admin/used/index')}">公司管理</a></li>
		<li><a href="{:url('index')}">租车公司管理</a></li>
		<li class="am-active">{$item.car_rental_id?租车公司编辑:添加租车公司}</li>
	</ol>
	<form class="am-form-inline tpl-form-border-form" data-ajax="1" data-check="1">
		<input type="hidden" name="car_rental_id" value="{$item.car_rental_id}" />
		<div class="am-u-sm-8">
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-12">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">公司名称： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<input type="text" class="tpl-form-input" name="name" value="{$item.name}" data-check='require' data-msg="公司名称不能为空" style="line-height: 21px;" />
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-12">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">来源类型： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<select name="type[]"  multiple data-am-selected="{btnWidth: '100%'}">
							{$types}
						</select>
					</div>
				</div>
			</div> 
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-12">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">公司简称： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<input type="text" class="tpl-form-input" name="abbreviation" value="{$item.abbreviation}"   style="line-height: 21px;" />
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-12">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">公司代码： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<input type="text" class="tpl-form-input"  name="code" value="{$item.code}"   style="line-height: 21px;" />
					</div>
				</div>
			</div>
		</div>
		
		
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-12">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">联系人： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<input type="text" class="tpl-form-input"  name="contacts" value="{$item.contacts}"    style="line-height: 21px;" />
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-12">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">保证金： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<input type="number" class="tpl-form-input"  name="contacts" value="{$item.contacts}"    style="line-height: 21px;" />
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-12">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">联系电话： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<input type="text" class="tpl-form-input"  name="phone" value="{$item.phone}"   style="line-height: 21px;" />
					</div>
				</div>
			</div>
		</div>
		
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-12">
				<div class="am-u-sm-6">
					<label for="user-name" class="am-u-sm-8 am-form-label cl-p" style="line-height: 35px;" >是否签约： </label>
					<div class="am-form-group am-u-sm-4 cl-p">
						<div class="am-u-sm-12 cl-p" style="line-height: 35px;">
							<input type="radio" name="sign" value="0" checked>是
							<input type="radio" name="sign" value="1">否
						</div>
					</div>
				</div>
				<div class="am-u-sm-6">
					<label for="user-name" class="am-u-sm-6 am-form-label cl-p" style="line-height: 35px;" >是否可开专票： </label>
					<div class="am-form-group am-u-sm-6 cl-p">
						<div class="am-u-sm-12 cl-p" style="line-height: 35px;">
							<input type="radio" name="special_ticket" value="0" checked>是
							<input type="radio" name="special_ticket" value="1">否
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-12">
				
				<div class="am-u-sm-6">
					<label for="user-name" class="am-u-sm-8 am-form-label cl-p am-text-truncate" style="line-height: 35px;" >打车是否不受支付限制： </label>
					<div class="am-form-group am-u-sm-4 cl-p">
						<div class="am-u-sm-12 cl-p" style="line-height: 35px;">
							<input type="radio" name="limit" value="0" checked>是
							<input type="radio" name="limit" value="1">否
						</div>
					</div>
				</div>
			</div>
		</div>
		
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-12">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">地址： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<input type="text" class="tpl-form-input"  name="add" value="{$item.add}"   style="line-height: 21px;" />
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12 cl-p" style="margin-bottom:10px ;">
				<div class="am-u-sm-12 cl-p">
					<label  class="am-u-sm-4 am-form-label cl-p">营业执照照片:</label>
					<div class="am-u-sm-8 cl-p">

					<div class="am-form-group am-u-sm-3 cl-p">
						<div class="am-u-sm-10 am-margin-top-xs ">
							<div class="am-u-sm-12 cl-p">
								<div class="am-form-group file-w">
									<div style="width: 150px;height: 100px;">
										<img class="fileimg" data-magnify="1" src="{if $item.head_portrait}{:CxImg($item.head_portrait)}{else/}{$static_dir}/assets/img/noimg.gif{/if}" style="width: 100%;height: 100%;" />
											
										<!--<img src="{:CxImg($item.driving_license_img2)}" alt="">-->
									</div>
									<button type="button" data-type='file' class="am-btn am-btn-danger am-btn-sm "><i class="am-icon-cloud-upload"></i> 添加图片</button>
									<input type="file" name="head_portrait" data-type='img' style="display: none;">
								</div>

							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px ;">
			<div class="am-u-sm-12">
				<label for="user-name" class="am-u-sm-4 am-form-label cl-p" style="line-height: 35px;">备注： </label>
				<div class="am-form-group am-u-sm-8 cl-p">
					<div class="am-u-sm-12 cl-p">
						<textarea class="" rows="10"  name="ps">{$item.ps}</textarea>
					</div>
				</div>
			</div>
		</div>
		<div class="am-u-sm-12" style="margin-bottom:10px;">
			<div class="am-u-sm-4">&nbsp;</div>
			<div class="am-u-sm-4">
				<button type="button" class="am-btn am-btn-sm am-btn-primary tpl-btn-bg-color-success keep">保存</button>
				<a href="{:url('index')}"  class="am-btn am-btn-sm am-btn-danger tpl-btn-bg-color-success">返回</a>
			</div>
			<div class="am-u-sm-4">&nbsp;</div>
		</div>
		</div>
		
	</form>
</div>